docs: Improve GtkLabel rendering
authorBilal Elmoussaoui <bil.elmoussaoui@gmail.com>
Sat, 1 Apr 2023 12:06:11 +0000 (12:06 +0000)
committerBilal Elmoussaoui <bil.elmoussaoui@gmail.com>
Sat, 1 Apr 2023 12:06:11 +0000 (12:06 +0000)
By adding some missing links & avoid the browser
from rendering the entities as their equivalent symbols

gtk/gtklabel.c

index b8176df8461f86ea9d2ffda4b0395f1a92905440..a9e2d286b770a1ef28cdb7ceee549952db06f1dd 100644 (file)
  * (See the Pango manual for complete documentation] of available
  * tags, [func@Pango.parse_markup])
  *
- * The markup passed to gtk_label_set_markup() must be valid; for example,
- * literal <, > and & characters must be escaped as &lt;, &gt;, and &amp;.
+ * The markup passed to [method@Gtk.Label.set_markup] must be valid; for example,
+ * literal `<`, `>` and `&` characters must be escaped as `&lt;`, `&gt;`, and `&amp;`.
  * If you pass text obtained from the user, file, or a network to
  * [method@Gtk.Label.set_markup], you’ll want to escape it with
- * g_markup_escape_text() or g_markup_printf_escaped().
+ * [func@GLib.markup_escape_text] or [func@GLib.markup_printf_escaped].
  *
  * Markup strings are just a convenient way to set the [struct@Pango.AttrList]
  * on a label; [method@Gtk.Label.set_attributes] may be a simpler way to set